package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product record);

    Product selectById(int id);


    int deleteById(int id);


    List<Product> selectAll();


}
